<template>
  <div class="header1-x">
    <div class="header1-top">
      <span class="header1-title">{{ title }}</span>
    </div>
    <div class="header1-bottom-line"></div>
  </div>
</template>

<script>
export default {
  name: 'CHeader1',
  props: ['title', 'icon'],
}
</script>

<style scoped>
.header1-x {
  pointer-events: none;
  width: 100%;
  height: 3rem;
}
.header1-top {
  color: #fff;
}
.header1-title {
  text-align: left;
  color: rgb(255, 255, 255);
  font-weight: 600;
  font-family: YouYuan;
  font-size: 1.25rem;
  line-height: 1.125rem;
  text-indent: 0;
  letter-spacing: 0;
  word-break: break-all;
}
.header1-bottom-line {
  pointer-events: auto;
  border: solid;
  border-left-width: 3.125rem;
  border-right-width: 3.125rem;
  border-bottom-width: 0.5rem;
  border-image: url(../assets/header1.png);
  border-image-slice: 0 100 18 100;
  margin-top: -0.1875rem;
  /* image-rendering: -webkit-optimize-contrast;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url(../assets/header1.png);
  -webkit-mask-image: none;
  -webkit-mask-repeat: initial;
  -webkit-mask-size: initial;
  background-color: initial; */
}
</style>
